package com.example.wxai.pijo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("admin")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 管理员账号
     */
    private String admin;

    /**
     * 管理员名称
     */
    private String adminName;

    /**
     * 用户密码
     */
    private String password;

    private String adminUrl;

    /**
     * 状态
     */
    private Boolean status;

    private LocalDateTime creatTime;

    /**
     * 更新时间
     */
    private Integer updateTime;

    /**
     * 被谁创建
     */
    private String byCreat;

    /**
     * 被谁更新
     */
    private String byUpdate;

    /**
     * 角色
     */
    private Integer role;

    /**
     * 0正常1删除
     */
    private Boolean isDelete;


}
